<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
      label{padding-left:20px;background:url("images/off.png") no-repeat}
      input:checked+label{
          background:url("images/on.png") no-repeat
      }
      input{
          display:none;
      }
    </style>
</head>
<body>
    <div class="search">
        <input type="checkbox" id="c">
        <label for="c">请勾选</label>
    </div>
</body>
</html>